import React, { Component } from 'react'
import { fn } from '../../high'

// /api/getRefeList
class Referrer extends Component {
    render() {
        const { list } = this.props
        return (
            <div>
                二级路由---referrer
                <ul>
                    {
                        list.map((item, index) => {
                            return <li key = { index }>
                                { item.title }
                            </li>
                        })
                    }
                </ul>
            </div>
        )
    }
}

export default fn(Referrer, '/api/getRefeList')
